cmake_minimum_required(VERSION 2.4.6)

FIND_PACKAGE( MODBUS REQUIRED )

SET(RADIOMETRY_SOURCES 
	../../src/ros_resources.cpp
	../../src/tools.cpp
)
INCLUDE_DIRECTORIES(
	../../include/
	${MODBUS_INCLUDE_DIR}
)

ADD_LIBRARY(thermalvis_radiometry_LIBRARIES SHARED ${RADIOMETRY_SOURCES})

rosbuild_add_executable(radiometry 
	./src/radiometry.cpp
	${RADIOMETRY_SOURCES}
)
INCLUDE_DIRECTORIES(./include/  ../../cfg/cpp/thermalvis/ ../../include/)
target_link_libraries(radiometry
	${thermalvis_radiometry_LIBRARIES}
	${OpenCV_LIBRARIES}
	${MODBUS_LIBRARIES} 
)

